package com.tzpay.tzpay.threadpool;

import android.content.ContentValues;
import android.content.Context;
import android.net.Uri;


public class DBSaveTask implements Task
{
    private Uri uri;
    private ContentValues values;
    private Context mContext;

    public DBSaveTask(Context context, Uri uri, ContentValues values)
    {
        mContext = context;
        this.uri = uri;
        this.values = values;
    }

    @Override
    public void execute()
    {
        mContext.getContentResolver().insert(uri, values);
    }

}
